package com.py.pythink.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.py.pythink.bo.AssessBo;
import com.py.pythink.entity.Assess;
import org.apache.ibatis.annotations.Param;

import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;


public interface AssessDao extends BaseMapper<Assess> {
    @Select("select a.price from t_assess a where address=#{address} and type=#{type}")
    @ResultType(AssessBo.class)
    AssessBo selectByAddress(@Param("address") String address, @Param("type") String type);
}
